<?php
namespace app\admin\controller;

use app\admin\logic\ShangpinLogic;
use app\admin\model\Brand;
use think\facade\Db;
use think\facade\Request;
use think\facade\View;

class Shangpin
{
    public function shangpinList()
    {
        list($where,$whereOr) = ShangpinLogic::getWhere();


        $list = \app\admin\model\Brand::getShangpinList($where,$whereOr);


        View::assign("list",$list);
        return view();
    }
    public function shangpinAdd()
    {
        return View::fetch();
    }


}
